import Cookies from "cookies-js";

export function getToken() {
  const token = Cookies.get("zs-token");
  return token? JSON.parse(token).user.token: ''
}